﻿/********************************************************************************/
// <copyright file="AdminSearchCriteria.cs" company="Asia E-Business Solutions">
//     Copyright © 2012. All right reserved
// </copyright>
// <history>
//     <change who="Phuoc Le" date="21/12/2012 6:01:51 PM">Created</change>
// </history>
/********************************************************************************/

namespace JLL.China.Model.DTO
{
    public enum AdminSearchOrder
    {
        UserName,
        IsSupperAdmin,
        IsActive
    }

    public class AdminSearchCriteria
    {
        public int PageIndex { get; set; }
        public int Count { get; set; }
        public AdminSearchOrder OrderBy { get; set; }
        public bool Descending { get; set; }

        public AdminSearchCriteria()
        {
            OrderBy = AdminSearchOrder.UserName;
            Descending = false;
            PageIndex = 0;
            Count = 10;
        }
    }
}
